//
//  BaseApiClient.swift
//  name
//
//  Created by lxm on 2018/12/17.
//  Copyright © 2018 lxm. All rights reserved.
//

import UIKit

class BaseApiClient: AFHTTPSessionManager {
    static let _shareManager = BaseApiClient()
    class func shareManager()->BaseApiClient{
        _shareManager.requestSerializer = AFJSONRequestSerializer()
        _shareManager.responseSerializer = AFJSONResponseSerializer()
        _shareManager.requestSerializer.setValue("application/json,text/html", forHTTPHeaderField: "Accept")
        _shareManager.requestSerializer.setValue("application/json; charset=utf-8", forHTTPHeaderField: "Content-Type")
        return _shareManager
    }
    
    func postRequest(<#parameters#>) -> <#return type#> {
        <#function body#>
    }
}
